package cn.aitrox.ry.service.auth.api;

import cn.aitrox.ry.service.auth.dto.resource.out.AuthResourceDetailDto;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

public interface AuthResourceApi {

//    @PostMapping(value = "/auth/resource")
//    RespResult<Integer> create(@RequestBody AuthResourceCreateInDto input);
//
//    @PutMapping(value = "/auth/resource")
//    RespResult update(@RequestBody AuthResourceUpdateInDto input);
//
//    @GetMapping(value = "/auth/resource/{id}")
//    RespResult<AuthResourceDetailDto> read(@PathVariable("id") Integer id);
//
//    @DeleteMapping(value = "/auth/resource/{id}")
//    RespResult delete(@PathVariable("id") Integer id);

    @GetMapping(value = "/auth/resource/all")
    List<AuthResourceDetailDto> all();
}
